package universe.planet;

import java.util.ArrayList;

import universe.unit.Coordinated;
import universe.unit.ship.parts.Missile;

public class Planet implements Coordinated {
	int[] coord;
	/** population by age group **/
	int[] population;
	/** size of each age group **/
	int yearsPerSlice;
	/** youngest productive age and oldest productive age (reproduction and industry) **/
	int activeStart, activeStop;
	/** number of active citizens **/
	int activePop;
	/** growth rate **/
	float grate;
	
	/** penalties to production **/
	float[] penalties;
	/** production (in resources units/turn) **/
	float[] production;
	/** accumulation of resource **/
	float[] stockpile;
	/** size of deposits left **/
	float[] deposits;
	
	/** resistance to invasion **/
	float resist;
	
	/** defensive missile silos **/
	Missile[] missiles;
	
	ArrayList<Building> buildings;
	
	public Planet(){
		coord= new int[2];
		population= new int[20];
	}
	
	public int[] getCoord(){
		return coord;
	}

	public void nextTurn() {

		
	}
	public void addBuilding(Building b){
		
	}
	public void removeBuilding(Building b){
		
	}
}
